From f21bf4a6245fa014c0c74fd561c73fb103b5c52b Mon Sep 17 00:00:00 2001 From: robertlipe Date: Sun, 27 Jan 2013 20:50:55 +0000 Subject: [PATCH] Deja vu. Unfix const warning - again - in vecs.cc for now to fix Linux build. --- gpsbabel/defs.h | 2 +- gpsbabel/vecs.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/defs.h b/gpsbabel/defs.h index a57657b42..e7d0dcc09 100644 --- a/gpsbabel/defs.h +++ b/gpsbabel/defs.h @@ -895,7 +895,7 @@ void is_fatal(const int condition, const char*, ...) PRINTFLIKE(2, 3); void warning(const char*, ...) PRINTFLIKE(1, 2); void debug_print(int level, const char* fmt, ...) PRINTFLIKE(2,3); -ff_vecs_t* find_vec(const char*, char**); +ff_vecs_t* find_vec(char *, char**); void assign_option(const char* vecname, arglist_t* ap, const char* val); void disp_vec_options(const char* vecname, arglist_t* ap); void disp_vecs(void); diff --git a/gpsbabel/vecs.cc b/gpsbabel/vecs.cc index 3ad0b5d69..efbe9dbd5 100644 --- a/gpsbabel/vecs.cc +++ b/gpsbabel/vecs.cc @@ -1220,7 +1220,7 @@ disp_vec_options(const char *vecname, arglist_t *ap) } ff_vecs_t * -find_vec(const char *const vecname, char **opts) +find_vec(char *vecname, char **opts) { vecs_t *vec = vec_list; style_vecs_t *svec = style_list; -- 2.30.2